package com.foreverwin.mes.lims.service;

import com.baomidou.mybatisplus.plugins.Page;
import com.foreverwin.mes.lims.model.CommandSend;
import com.baomidou.mybatisplus.service.IService;
import com.foreverwin.mes.core.base.FrontPage;

import java.util.List;

/**
 * <p>
 * 指令下达 服务类
 * </p>
 *
 * @author Max
 * @since 2020-02-27
 */
public interface CommandSendService extends IService<CommandSend> {

    /**
     *  分页查询
     * @param frontPage
     * @return
     */
    Page<CommandSend> selectPage(FrontPage<CommandSend> frontPage, CommandSend commandSend);

    List<CommandSend> selectList(CommandSend commandSend);

    int saveAndSendCommand (CommandSend commandSend);
}